﻿using System;
using System.Collections.Generic;

namespace Hetymine.Executioner.Data {
    public interface IConfiguratorList {
        IConfiguratorItem InitializeItem();
        IList<IConfiguratorItem> Items { get; }

        event EventHandler ListChanged;

        bool CanAddItem { get; }
        bool CanRemoveItem { get; }

        object ListItemContent(IConfiguratorItem item);

        int SelectedIndex { get; set; }

        string ItemName { get; }
        string ListGroupBoxName { get; }
        string EditGroupBoxName { get; }
    }
}
